#ifndef SYSTEMFILE_H
#define SYSTEMFILE_H
#include <QString>
#include <stdio.h>
#include <QDataStream>
#include <QDebug>
#include <QDir>
#include <QSettings>
#include <stdio.h>
#include <QDataStream>
#include <QDebug>
#include <QMap>
#include <QNetworkInterface>
#include <QTextCodec>
class systemFile
{
public:
    systemFile();
    QSettings  *devSetting;
    bool readSetting();
    bool resetSetting();
    //服务器信息
    QString serverIp;       //服务器IP
    QString userName;
    QString passWord;
    QString databaseName;
    QString serverPort;
    //TCP连接信息
    QString devPort;
    QString localIp;
    QString localPort;
};
extern systemFile *sysInfo;
#endif // SYSTEMFILE_H
